class Student(object):
    def __init__(self, name, gender):
        self.name = name
        self.gender = gender


class Student(object):
    def __int__(self, name, gender):
        if gender != "male" or gender != "female":
            raise ValueError("bad gender")
        self.__gender = gender


